//
//  FourButtonViewController.m
//  110
//
//  Created by 沈鑫 on 16/4/12.
//  Copyright © 2016年 乔砥. All rights reserved.
//

#import "FourButtonViewController.h"

@interface FourButtonViewController ()<UIWebViewDelegate>
@property (nonatomic, strong)UIWebView *myWebView;
@end

@implementation FourButtonViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    _myWebView = [[UIWebView alloc]initWithFrame:CGRectMake(0, 0, KWIDTH, KHEIGHT - 64)];
    _myWebView.delegate = self;
    NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.360kad.com/?utm_source=baidu&utm_medium=cpc&utm_campaign=%E9%AB%98ROI%E7%BD%91%E4%B8%8A%E9%80%9A%E7%94%A8%E8%AF%8D-%E7%9F%AD%E8%AF%AD%E7%B2%BE-baidupc"]];
    [_myWebView loadRequest:request];
    [self.view addSubview:_myWebView];
    
    UIView *view = [[UIView alloc]initWithFrame:CGRectMake(0, KHEIGHT - 60 - 110, KWIDTH, 60)];
    view.backgroundColor = [UIColor whiteColor];
    [self.myWebView addSubview:view];
    

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
